package com.erp.erp_mask.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.erp.erp_mask.pojo.TCustomers;
import com.erp.erp_mask.service.TCustomersService;
import com.erp.erp_mask.mapper.TCustomersMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
* @author 张瑶
* @description 针对表【t_customers】的数据库操作Service实现
* @createDate 2024-05-13 17:20:03
*/
@Service
public class TCustomersServiceImpl extends ServiceImpl<TCustomersMapper, TCustomers>
    implements TCustomersService{

    @Resource
    private TCustomersMapper tCustomersMapper;


    @Override
    public Page<TCustomers> searchcus(String name, Long pageNo, Long pageSize) {
        return tCustomersMapper.searchcus(name,new Page<TCustomers>(pageNo,pageSize));
    }
}




